home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19970929-19971216
/
000083_news@newsmaster….columbia.edu _Mon Oct 13 13:12:37 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-12-15
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA21813
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 13 Oct 1997 13:12:36 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA29194
for kermit.misc@watsun; Mon, 13 Oct 1997 13:12:36 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!news.maxwell.syr.edu!news-feed1.tiac.net!news.ultranet.com!not-for-mail
From: newguy <newguy@southeast.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Need script to run automatically after each K95 server-mode file received...
Date: Mon, 13 Oct 1997 13:10:03 -0400
Organization: UltraNet Communications, Inc.
Lines: 24
Message-ID: <344255EA.40ACF522@southeast.net>
NNTP-Posting-Host: d6.dial-2.lwl.ma.ultra.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.02 [en] (Win95; I)
Xref: news.columbia.edu comp.protocols.kermit.misc:7859
We run Kermit95 in server-mode to receive files from a database machine
unattended.
Unfortunately, we need the file names on the received end to be renamed
from the name that the sending kermit is using. The _real_ name that
should be used is contained in a text line in the file itself (i.e.
something like FILENAME=what.name.should.really.be .
Is there a way to get a script to run after each successful receipt of a
file while remaining in server mode? (A simple script could read the
file, get the proper name, and then rename the file.)
Failing that, could anyone help with a script that would:
1) manually wait to receive a file (forever)
2) after successful receipt, rename the file
3) loop back to step 1
(In effect, this script would act like server mode)
Please respond to this newsgroup, our email is flaky.
Thanks.